<template>
  <div>
    <el-dialog title="调薪" :visible="showDialog" width="60%" @close="cancel">
      <div>
        <el-row>
          <el-col :span="4"><el-image /></el-col>
          <el-col :span="12">
            <h4></h4>
            <p>部门：</p>
            <p>入职时间：</p>
          </el-col>
        </el-row>
        <el-divider />
        <el-form ref="form" :model="form" label-width="120px">
             <el-row type="flex">
            <el-col :span="10">
              <el-form-item label="调整基本工资">
                <el-input
                  v-model="form.currentBasicSalary"
                  style="width: 250px"
                  disabled
                ></el-input>
              </el-form-item>
            </el-col>
            <el-col>
              <el-form-item label="->">
                <el-input v-model="form.name" style="width: 250px"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row type="flex">
            <el-col :span="10">
              <el-form-item label="调整岗位工资">
                <el-input
                  v-model="form.currentPostWage"
                  style="width: 250px"
                  disabled
                ></el-input>
              </el-form-item>
            </el-col>
            <el-col>
              <el-form-item label="->">
                <el-input v-model="form.name" style="width: 250px" ></el-input>
              </el-form-item>
            </el-col>
          </el-row>
             <el-row type="flex">
            <el-col :span="10">
              <el-form-item label="工资合计">
                <el-input
                  v-model="form.name"
                  style="width: 250px"
                  disabled
                ></el-input>
              </el-form-item>
            </el-col>
            <el-col>
              <el-form-item label="->">
                <el-input v-model="form.name" style="width: 250px" disabled></el-input>
              </el-form-item>
            </el-col>
          </el-row>
             <el-row type="flex">
            <el-col :span="10">
              <el-form-item label="调整幅度">
                <el-input
                  v-model="form.name"
                  style="width: 250px"
                  disabled
                ></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button @click="cancel">取 消</el-button>
        <el-button type="primary" @click="sure">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>
<script>
export default {
  props: {
    showDialog: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
      form: {},
    };
  },
  methods: {
    cancel() {
      this.$emit("update:showDialog", false);
    },
    sure() {},
  },
};
</script>
